package com.passive.lock.utils;

import java.io.IOException;
import java.util.Properties;

public class PropertieUtils {
	private static Properties p = new Properties();

	/**
	 * 读取properties配置文件信息
	 */
	static {
		try {
			p.load(PropertieUtils.class.getClassLoader().getResourceAsStream("config/huitax.properties"));
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	
	
	 /** 
     * 根据key得到value的值 
     */  
    public static String getValue(String key)  
    {  
        return p.getProperty(key);  
    }  
    
}
